/**
 * 教研老师路由
 */


const express = require('express')

// 教研老师Router
const JiaoYanRouter = express.Router({
	mergeParams: true
})

// 删除课题
JiaoYanRouter.post('/topic/del', require('./jiaoyan/topic/del'))

// 修改课题信息
JiaoYanRouter.post('/topic/update', require('./jiaoyan/topic/updata'))

// 添加科研题目
JiaoYanRouter.post('/topic/add', require('./jiaoyan/topic/add'))
	
// 教研-查看自己的课题列表
JiaoYanRouter.post('/topic/list', require('./jiaoyan/topic/getlist'))

// 教研-查看某个课题报名的学生列表
JiaoYanRouter.post('/student/list', require('./jiaoyan/student/list'))

// 教研-确认，撤销，删除报名某个课题的学生
JiaoYanRouter.post('/student/confirm', require('./jiaoyan/student/confirm'))

// get topic list
JiaoYanRouter.get('/year/getlist', require('./xingzheng/year/list'))

// 修改个人信息
JiaoYanRouter.post('/setdetail', require('./student/setDetail'))

// 修改登陆密码
JiaoYanRouter.post('/setpassword', require('./student/setPassword'))



module.exports = JiaoYanRouter